package be.bonamis.timesheet.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LinkController {

	@RequestMapping(value = "/")
	public ModelAndView mainPage(Model model) {		
		return LoginController.goToLoginPage(model);
	}

	@RequestMapping(value = "/index")
	public ModelAndView indexPage(Model model) {		
		return LoginController.goToLoginPage(model);
	}

}